from django.conf.urls import url
from django.urls import path
from goodsApp import goodsController, collectionController, views

urlpatterns = [
    path('detail/', goodsController.goodsDetail),
    path('page/',goodsController.getGoodsByPage),
    path('collection/add',collectionController.addGoods),
    path('collection/remove',collectionController.removeGoods),
    path('collection/',views.collectionPage),
    path('collection/page',collectionController.getGoods),
    path('search',goodsController.goodsSearch)
]
